package com.black.knight.chess.domain;

import java.io.Serializable;

import com.black.knight.chess.enums.CommandType;


public class ChessCommand implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private CommandType type;
	private Move move;
	private Player player;
	private Integer gameDuration;
	private boolean playOnClock;
	
	private String fen;
	
	public ChessCommand() {
	}
	
	public CommandType getType() {
		return type;
	}
	
	public void setType(CommandType type) {
		this.type = type;
	}
	
	public Move getMove() {
		return move;
	}
	
	public void setMove(Move move) {
		this.move = move;
	}

	public Player getPlayer() {
		return player;
	}

	public void setPlayer(Player player) {
		this.player = player;
	}

	public Integer getGameDuration() {
		return gameDuration;
	}

	public void setGameDuration(Integer gameDuration) {
		this.gameDuration = gameDuration;
	}

	public boolean isPlayOnClock() {
		return playOnClock;
	}

	public void setPlayOnClock(boolean playOnClock) {
		this.playOnClock = playOnClock;
	}

	public String getFen() {
		return fen;
	}

	public void setFen(String fen) {
		this.fen = fen;
	}
}
